*****************************************************************************
*Replication script for: Höhne, J.K., & Claassen, J. (2024). Examining final 
*comment questions with requests for written and oral answers. International
*Journal of Market Research.
*****************************************************************************

*******************
*sample composition
*******************
tab group
ttest age, by(group)
tab group gender, row chi
tab group education, row chi
ttest smartphone_skills, by(group)
ttest internet_usage, by(group)

**************************************
*research question 1: item-nonresponse
**************************************
prtest nonresponse, by(group)

***********************************
*research question 2: answer length
***********************************
sum word_number if nonresponse == 0 & group == 0, d
sum word_number if nonresponse == 0 & group == 1, d
median word_number if nonresponse == 0, by(group) exact

*Note. Special characters were not counted as words. Thus, the dataset includes two
*observations with an answer length of zero because these respondents entered only
*special characters. 

*****************************************
*research question 3: content of comments
*****************************************
kap topic topic_second_coder if topic !=. & topic_second_coder !=.

tab topic group, col